package com.banmao.jdbcDynamicDS.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table("test_table_2")
public class Table2 {

    @Id
    private Integer pk;

    @Column("code")
    private String code;

}
